// 云函数入口文件
const cloud = require('wx-server-sdk')

cloud.init({ env: 'radar-server-cloud-3d2qcee2c1b04' })

// 云函数入口函数
exports.main = async (event, context) => {
  const wxContext = cloud.getWXContext()

  return {
    // event,
    // openid: wxContext.OPENID,
    appid: wxContext.APPID,
    appsecret: '521acf00dd4200218796b6edd4e3df13',
    // unionid: wxContext.UNIONID,
  }
}